package com.ruubypay.biz.mvc.workflow.model.response;

import sun.dc.pr.PRError;

import java.util.Date;

/**
 * 流程管理查询响应VO类
 * @author chenhaiyang
 */
public class ProcessDefinedResponse {
    /**
     * 流程定义Id
     */
    private String id;
    /**
     * 流程定义名称
     */
    private String name;
    /**
     * 流程分类
     */
    private String category;
    /**
     * 部署Id
     */
    private String deploymentId;
    /**
     * 流程定义key
     */
    private String key;
    /**
     * 流程的版本
     */
    private Integer version;
    /**
     * 流程的xml的文件的名称
     */
    private String resourceName;
    /**
     * 流程png资源图片的名称
     */
    private String diagramResourceName;
    /**
     * 是否是挂起状态
     */
    private Boolean isSuspended;
    /**
     * 目前没用到
     */
    private String tenantId;
    /**
     * 部署时间
     */
    private Date deploymentTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getDeploymentId() {
        return deploymentId;
    }

    public void setDeploymentId(String deploymentId) {
        this.deploymentId = deploymentId;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getResourceName() {
        return resourceName;
    }

    public void setResourceName(String resourceName) {
        this.resourceName = resourceName;
    }

    public String getDiagramResourceName() {
        return diagramResourceName;
    }

    public void setDiagramResourceName(String diagramResourceName) {
        this.diagramResourceName = diagramResourceName;
    }

    public Boolean getSuspended() {
        return isSuspended;
    }

    public void setSuspended(Boolean suspended) {
        isSuspended = suspended;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public Date getDeploymentTime() {
        return deploymentTime;
    }

    public void setDeploymentTime(Date deploymentTime) {
        this.deploymentTime = deploymentTime;
    }

    @Override
    public String toString() {
        return "ProcessDefinedResponse{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", category='" + category + '\'' +
                ", deploymentId='" + deploymentId + '\'' +
                ", key='" + key + '\'' +
                ", version=" + version +
                ", resourceName='" + resourceName + '\'' +
                ", diagramResourceName='" + diagramResourceName + '\'' +
                ", isSuspended=" + isSuspended +
                ", tenantId='" + tenantId + '\'' +
                ", deploymentTime=" + deploymentTime +
                '}';
    }
}
